<html>
    <head>
        <script>
            function test()
            {
                if (window.testRunner)
                    testRunner.dumpAsText();
                var sl = document.getElementById('sl');
                eventSender.mouseMoveTo(sl.offsetLeft, sl.offsetTop);
                eventSender.mouseDown(1);
            }
        </script>
    </head>
    <body onload="test()">
        This tests that we don't crash if a menu list's renderer is destroyed during the mouse down event.
        <br>
        <select id="sl" onmousedown="this.style.display='none'"><option>test</select>
    </body>
</html>
